using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace LS.GameKit.Behaviour
{
    /// <summary>
    /// 游戏行为组件
    /// </summary>
    public abstract class GameBehaviourMono : MonoBehaviour, IGameBehaviour
    {
        protected virtual void Awake()
        {

        }

        protected virtual void Start()
        {
            
        }

        protected virtual void OnEnable()
        {

        }

        protected virtual void OnDisable()
        {

        }

        protected virtual void OnDestroy()
        {

        }

        public virtual bool IsActive()
        {
            return isActiveAndEnabled;
        }
    }
}
